//
//  FireBaseEventItemNameType.swift
//  DaRings
//
//  Created by 尹琼 on 2023/2/24.
//

import UIKit

public enum FireBaseEventItemNameType: String {
    
    case Click_Home_Exercise_Record_Start_WorkOut = "点击_首页_开始锻炼"
    case Click_Home_Heart_Rate_Start_Measurement = "点击_首页_心率_开始测量"
    case Click_Home_Blood_Oxygen_Saturation_Start_Measurement = "点击_首页_血氧饱和度_开始测量"
    case Click_Home_Heart_Rate_Variability_Start_Measurement = "点击_首页_心率变异性_开始测量"
    case Click_Home_Stress_Start_Measurement = "点击_首页_压力_开始测量"
    case Click_Add_Device = "点击_添加设备"
    case Click_Remove_device = "点击_移除设备"
    
    var id: String {
        
        switch self {
        case .Click_Home_Exercise_Record_Start_WorkOut:
            return "Click_Home_Exercise_Record_Start_WorkOut"
        case .Click_Home_Heart_Rate_Start_Measurement:
            return "Click_Home_Heart_Rate_Start_Measurement"
        case .Click_Home_Blood_Oxygen_Saturation_Start_Measurement:
            return "Click_Home_Blood_Oxygen_Saturation_Start_Measurement"
        case .Click_Home_Heart_Rate_Variability_Start_Measurement:
            return "Click_Home_Heart_Rate_Variability_Start_Measurement"
        case .Click_Home_Stress_Start_Measurement:
            return "Click_Home_Stress_Start_Measurement"
        case .Click_Add_Device:
            return "Click_Add_Device"
        case .Click_Remove_device:
            return "Click_Remove_device"
        }
    }
    
    var name: String {
        
        return self.rawValue
    }
    
    var paramters: [String: Any] {
        
        return [id: name]
    }
}
